<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ThemeUtils - core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">core</a>&nbsp;/&nbsp;<a href="../index.html">com.vmadalin.core.utils</a>&nbsp;/&nbsp;<a href="./index.html">ThemeUtils</a><br/>
<br/>
<h1>ThemeUtils</h1>
<code><span class="keyword">class </span><span class="identifier">ThemeUtils</span></code>
<p>Utils for application theme configuration.</p>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="-init-.html">&lt;init&gt;</a></h4>
</td>
<td>
<p>Utils for application theme configuration.</p>
<code><span class="identifier">ThemeUtils</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="is-dark-theme.html">isDarkTheme</a></h4>
</td>
<td>
<p>Whether the current configuration is a dark theme i.e. in Night configuration.</p>
<code><span class="keyword">fun </span><span class="identifier">isDarkTheme</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.utils.ThemeUtils$isDarkTheme(android.content.Context)/context">context</span><span class="symbol">:</span>&nbsp;<a href="https://developer.android.com/reference/android/content/Context.html"><span class="identifier">Context</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="is-light-theme.html">isLightTheme</a></h4>
</td>
<td>
<p>Whether the current configuration is a light theme i.e. in Day configuration.</p>
<code><span class="keyword">fun </span><span class="identifier">isLightTheme</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.utils.ThemeUtils$isLightTheme(android.content.Context)/context">context</span><span class="symbol">:</span>&nbsp;<a href="https://developer.android.com/reference/android/content/Context.html"><span class="identifier">Context</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="set-night-mode.html">setNightMode</a></h4>
</td>
<td>
<p>Force <a href="#">AppCompatDelegate</a> Mode to night/notnight.</p>
<code><span class="keyword">fun </span><span class="identifier">setNightMode</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.utils.ThemeUtils$setNightMode(kotlin.Boolean, kotlin.Long)/forceNight">forceNight</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">, </span><span class="identifier" id="com.vmadalin.core.utils.ThemeUtils$setNightMode(kotlin.Boolean, kotlin.Long)/delay">delay</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html"><span class="identifier">Long</span></a>&nbsp;<span class="symbol">=</span>&nbsp;0L<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
